package tuioZones;

public class Puzzle {
	private String title;
	private Card cA;
	private Card cB;
	private Category category;
    private float width;
    private float height;
	
	public Puzzle(String title) {
		this.title = title;
	}
	
	public boolean isValid() {
		return cA != cB && cA != null && cB != null;
	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the cA
	 */
	public Card getCA() {
		return cA;
	}
	/**
	 * @param ca the cA to set
	 */
	public void setCA(Card ca) {
		cA = ca;
	}
	/**
	 * @return the cB
	 */
	public Card getCB() {
		return cB;
	}
	/**
	 * @param cb the cB to set
	 */
	public void setCB(Card cb) {
		cB = cb;
	}
	/**
	 * @return the category
	 */
	public Category getCategory() {
		return category;
	}
	/**
	 * @param category the category to set
	 */
	public void setCategory(Category category) {
		this.category = category;
	}

    public float getHeight() {
        return height;
    }

    public void setHeight(float height) {
        this.height = height;
    }

    public float getWidth() {
        return width;
    }

    public void setWidth(float width) {
        this.width = width;
    }
}
